Skip to content

Consider bounds when checking if a period is before another.#139

Merged
nyamsprod merged 1 commit into
thephpleague:masterfrom
brummbar:isbefore-period-bounds
Oct 17, 2025
Merged

Consider bounds when checking if a period is before another.#139
nyamsprod merged 1 commit into
thephpleague:masterfrom
brummbar:isbefore-period-bounds

Conversation

@brummbar
Copy link
Copy Markdown
Contributor

Fixes #138.

@nyamsprod
Copy link
Copy Markdown
Member

your assessment is correct it is a good catch of a bug and your fix does resolve it. I will merge your PR and after some package clean up (adding PHP8.5 support) I will probably release you bugfix... thanks

@nyamsprod nyamsprod merged commit 7b3fdff into thephpleague:master Oct 17, 2025
0 of 8 checks passed
@nyamsprod nyamsprod self-assigned this Oct 17, 2025
@nyamsprod nyamsprod self-requested a review October 17, 2025 10:06
@nyamsprod
Copy link
Copy Markdown
Member

New bugfix released thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent behaviour for isBefore() when comparing periods with other periods or dates

2 participants